Xceed DataGrid for Silverlight Documentation
TryGetValue Method


The key of the value to retrieve. Cannot be a null reference (Nothing in Visual Basic).
The value associated with the specified key, if found.
Gets the value associated with the specified key.
Syntax
'Declaration
 
Public Function TryGetValue( _
   ByVal key As TKey, _
   ByRef value As TValue _
) As Boolean
'Usage
 
Dim instance As SelectionRange.NotificationDictionary(Of TKey,TValue)
Dim key As TKey
Dim value As TValue
Dim value As Boolean
 
value = instance.TryGetValue(key, value)
public bool TryGetValue( 
   TKey key,
   out TValue value
)

Parameters

key
The key of the value to retrieve. Cannot be a null reference (Nothing in Visual Basic).
value
The value associated with the specified key, if found.

Return Value

true if the value was found; false otherwise.
Requirements

Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family

See Also

Reference

SelectionRange.NotificationDictionary<TKey,TValue> Class
SelectionRange.NotificationDictionary<TKey,TValue> Members

Send Feedback